package com.abc.qq.view;

public class Application {
    public static void main(String[] args){
//        System.out.println("begin");
//        TimeThread t1 = new TimeThread();
//        t1.start();
//        System.out.println("end");

        TimeThread1 t1 = new TimeThread1();
        Thread thread = new Thread(t1);
        thread.start();

        while(true){
            System.out.println("main");
            try {
                Thread.sleep(1000);
            } catch (InterruptedException e) {
                throw new RuntimeException(e);
            }
        }

    }
}
